package com.wxx.utils;

public enum AsrMessageEnum {
	SUCCESS("ASR-000000", "操作成功"), USER_LOGIN_INVALID("ASR-000003",
			"登录失效，请重新登录"), USER_PASSWORD_ERROR("ASR-000004", "登录失败，请检查用户名或密码"), USER_REPEAT_LOGIN(
			"ASR-000005", "您的账号已在别处登录，请注意账户安全!"), USER_NO_LOGIN("ASR-000006",
			"请先登录"), PARAM_ERROR("ASR-000007", "请求参数错误"), USER_LOGINOUT_FAIL(
			"ASR-000008", "注销失败"), REQUEST_REMOTE_SERVICE_FAIL("ASR-000009",
			"交易未明"), FAIL("ASR-000999", "操作失败");

	private String code;
	private String msg;

	private AsrMessageEnum(String code, String message) {
		this.code = code;
		this.msg = message;
	}

	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @return the msg
	 */
	public String getMsg() {
		return msg;
	}

}